package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;

import java.util.List;
import java.util.Map;

/**
 * @author ：lintao
 * @date ：Created in 2020/11/24
 * @description ：
 * @version: 1.0
 */
public interface CheckGroupDao {
    public void add(CheckGroup checkGroup);
    public void setCheckGroupAndCheckItem(Map<String, Integer> map);
    public Page<CheckGroup> findByPage(String queryString);
    public CheckGroup findById(Integer id);
    public List<Integer> findCheckItemIdsByCheckGroupId(Integer checkgroupId);
    public void deleteAssociation(Integer id);
    public void edit(CheckGroup checkGroup);
    public long findCountByCheckGroupId(Integer id);
    public void deleteById(Integer id);
    public List<CheckGroup> findAll();
}
